.class public Lcom/example/m6wmr/ChangeBindActivity;
.super Landroid/app/Activity;
.source "ChangeBindActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;
    }
.end annotation


# instance fields
.field private activities:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Landroid/app/Activity;",
            ">;"
        }
    .end annotation
.end field

.field private bindauthcode:Ljava/lang/String;

.field private closebtn:Landroid/widget/LinearLayout;

.field private context:Landroid/content/Context;

.field private et_bindauth_code:Landroid/widget/EditText;

.field private et_newbindphone:Landroid/widget/EditText;

.field private getHttpAuthCodeString:Ljava/lang/String;

.field private getHttpbindCommitString:Ljava/lang/String;

.field private h:Landroid/os/Handler;

.field private isstop:Z

.field private isvalidity:Z

.field private ll_bindtime:Landroid/widget/LinearLayout;

.field private m:Lmyapp/MyApp;

.field private newbindphone:Ljava/lang/String;

.field private tv_bindtime:Landroid/widget/TextView;

.field private tv_sure_bind:Landroid/widget/TextView;

.field private validity:I


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 35
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 54
    iput-boolean v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->isvalidity:Z

    .line 56
    iput-boolean v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->isstop:Z

    .line 35
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 46
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->et_newbindphone:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/ChangeBindActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 58
    iput-object p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$10(Lcom/example/m6wmr/ChangeBindActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 39
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/ChangeBindActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 63
    iput-object p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->getHttpbindCommitString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$12(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 61
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->getHttpAuthCodeString:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/ChangeBindActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 61
    iput-object p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->getHttpAuthCodeString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$14(Lcom/example/m6wmr/ChangeBindActivity;)I
    .locals 1

    .prologue
    .line 52
    iget v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->validity:I

    return v0
.end method

.method static synthetic access$15(Lcom/example/m6wmr/ChangeBindActivity;I)V
    .locals 0

    .prologue
    .line 52
    iput p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->validity:I

    return-void
.end method

.method static synthetic access$16(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 48
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->tv_bindtime:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$17(Lcom/example/m6wmr/ChangeBindActivity;)Z
    .locals 1

    .prologue
    .line 56
    iget-boolean v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->isstop:Z

    return v0
.end method

.method static synthetic access$18(Lcom/example/m6wmr/ChangeBindActivity;Z)V
    .locals 0

    .prologue
    .line 56
    iput-boolean p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->isstop:Z

    return-void
.end method

.method static synthetic access$19(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->getHttpbindCommitString:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 58
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->newbindphone:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 37
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/ChangeBindActivity;Z)V
    .locals 0

    .prologue
    .line 54
    iput-boolean p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->isvalidity:Z

    return-void
.end method

.method static synthetic access$5(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 38
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 45
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/ChangeBindActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 47
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->et_bindauth_code:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/ChangeBindActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 59
    iput-object p1, p0, Lcom/example/m6wmr/ChangeBindActivity;->bindauthcode:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$9(Lcom/example/m6wmr/ChangeBindActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->bindauthcode:Ljava/lang/String;

    return-object v0
.end method

.method private initData()V
    .locals 1

    .prologue
    .line 380
    iput-object p0, p0, Lcom/example/m6wmr/ChangeBindActivity;->context:Landroid/content/Context;

    .line 381
    invoke-virtual {p0}, Lcom/example/m6wmr/ChangeBindActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;

    .line 383
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->activities:Ljava/util/List;

    .line 384
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->activities:Ljava/util/List;

    invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 386
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;

    iget v0, v0, Lmyapp/MyApp;->regtime:I

    iput v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->validity:I

    .line 389
    return-void
.end method

.method private initView()V
    .locals 1

    .prologue
    .line 367
    const v0, 0x7f0c0001

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->closebtn:Landroid/widget/LinearLayout;

    .line 368
    const v0, 0x7f0c0086

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;

    .line 370
    const v0, 0x7f0c0084

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->et_newbindphone:Landroid/widget/EditText;

    .line 371
    const v0, 0x7f0c0085

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->et_bindauth_code:Landroid/widget/EditText;

    .line 373
    const v0, 0x7f0c0087

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->tv_bindtime:Landroid/widget/TextView;

    .line 374
    const v0, 0x7f0c0088

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->tv_sure_bind:Landroid/widget/TextView;

    .line 376
    return-void
.end method

.method private setOncliclistener()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 200
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->closebtn:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;-><init>(Lcom/example/m6wmr/ChangeBindActivity;Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 201
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;-><init>(Lcom/example/m6wmr/ChangeBindActivity;Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 202
    iget-object v0, p0, Lcom/example/m6wmr/ChangeBindActivity;->tv_sure_bind:Landroid/widget/TextView;

    new-instance v1, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;-><init>(Lcom/example/m6wmr/ChangeBindActivity;Lcom/example/m6wmr/ChangeBindActivity$mOnclicliseter;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 204
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 69
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 70
    const v1, 0x7f030015

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/ChangeBindActivity;->setContentView(I)V

    .line 72
    invoke-direct {p0}, Lcom/example/m6wmr/ChangeBindActivity;->initData()V

    .line 73
    invoke-direct {p0}, Lcom/example/m6wmr/ChangeBindActivity;->initView()V

    .line 75
    invoke-direct {p0}, Lcom/example/m6wmr/ChangeBindActivity;->setOncliclistener()V

    .line 76
    invoke-virtual {p0}, Lcom/example/m6wmr/ChangeBindActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;

    .line 78
    const/high16 v1, 0x7f0c0000

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/ChangeBindActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 79
    .local v0, "top":Landroid/widget/LinearLayout;
    iget-object v1, p0, Lcom/example/m6wmr/ChangeBindActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 80
    const v1, 0x7f070026

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 81
    iget-object v1, p0, Lcom/example/m6wmr/ChangeBindActivity;->tv_sure_bind:Landroid/widget/TextView;

    const v2, 0x7f020020

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 82
    iget-object v1, p0, Lcom/example/m6wmr/ChangeBindActivity;->ll_bindtime:Landroid/widget/LinearLayout;

    const v2, 0x7f020019

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 85
    :cond_0
    new-instance v1, Lcom/example/m6wmr/ChangeBindActivity$1;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/ChangeBindActivity$1;-><init>(Lcom/example/m6wmr/ChangeBindActivity;)V

    iput-object v1, p0, Lcom/example/m6wmr/ChangeBindActivity;->h:Landroid/os/Handler;

    .line 192
    return-void
.end method
